﻿using System;
using System.Linq;
using ForumsBrowser.ServiceContracts;
using ForumsBrowser.SiteAccess;

namespace ForumsBrowser.ObjectGateway
{
    public static class ServiceFactory
    {
        // todo: plugin architecture?
        private static readonly IForumsBrowserService _service = new SiteAccessService();

        public static IForumsBrowserService Service
        {
            get
            {
                return _service;
            }
        }
    }
}
